<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
        <title>留言</title>
    </head>

    <body>
        <h1>欢迎大家的建议和反馈</h1>
        <form action='.' enctype='multipart/form-data' method='post' >
	<table>
	    {% for field in form %}
                <tr><td><p>{{ field.errors }}<P></td><td></td></tr>
                <tr><td>{{ field.label_tag }} :</td> <td>{{ field }}</td></tr>
            {% endfor %}
            <tr><td></td><td><input type='submit' value='提交'></td></tr>
	</table>
        
        </form>
        
        {% for msg in message_list %}
            <hr/>
            {{ msg.msg }}<br/>
        {% endfor %}
            
    </body>
</html>